<div class="header">
	<div class="logo">
		<a href="/"><img src="/home/images/logo.png" alt=""/></a>
	</div>
	<div class="drp-dwn">
	 	<select onchange="window.location=this.options[this.selectedIndex].value">
			<option value="/">Trang chủ</option>
			<option value="/dich-vu.html">Dịch vụ</option>
         <?
         $product_categories = product_cat(0);
         foreach($product_categories as $cat){
            $product_categories_child = product_cat($cat['cat_id']);
         ?>
			   <option value="<?=generate_service_cat_url($cat)?>"> |-- <?=$cat['cat_name']?></option>
            <?
               if($product_categories_child != NULL){
                  foreach($product_categories_child as $cat_child){
                     $product_categories_child_child = product_cat($cat_child['cat_id']); 
                     ?>
                     <option value="<?=generate_service_cat_url($cat_child)?>"> |--|-- <?=$cat_child['cat_name']?></option>
                     <?
                     if($product_categories_child_child  != NULL){ 
                        foreach($product_categories_child_child as $cat_child_child){
                           ?>
                           <option value="<?=generate_service_cat_url($cat_child_child)?>"> |--|--|-- <?=$cat_child_child['cat_name']?></option>
                           <?
                        }
                     }
                  }
               }
            }
            ?>
			<option value="/blog.html">Blog</option>
			<option value="/lien-he.html">Liên hệ</option>
		</select>
	</div>
</div>